package jmine.tec.utils.cripto.key.impl;

import java.io.IOException;

import jmine.tec.utils.cripto.key.PasswordManager;

/**
 * @author takeshi
 */
public class StaticPasswordManager implements PasswordManager {

    private String password;

    /**
     * 
     */
    public StaticPasswordManager() {
    }

    /**
     * @param password String
     */
    public StaticPasswordManager(String password) {
        this();
        this.password = password;
    }

    /**
     * {@inheritDoc}
     */
    public String getPassword() throws IOException {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

}
